import App from './App'
import Vue from 'vue'
import VHtmlPlugin from '@megalo/vhtml-plugin'
import './store'

Vue.use(VHtmlPlugin);

const app = new Vue(App);

app.$mount();

export default {
  config: {
    // pages 的首个页面会被编译成首页
    pages: [
      'pages/index', // 首页
      'pages/login', // 微信登录
      'pages/login-test', // 微信登录 测试
      'pages/add-card', // 添加卡片，webview
      'pages/choose-location', // 添加卡片，webview
      'pages/recent-visitors', // 最近访客
      'pages/interested-products', // 感兴趣
      'pages/no-abo', // 非abo
    ],
    window: {
      backgroundTextStyle: 'light',
      navigationBarBackgroundColor: '#fff',
      navigationBarTextStyle: 'black',
      navigationBarTitleText: ''
    },
    usingComponents: {
      "van-transition": "native/components/vant/transition/index",
      "van-row": "native/components/vant/row/index",
      "van-col": "native/components/vant/col/index",
      "van-dialog": "native/components/vant/dialog/index",
      "van-icon": "native/components/vant/icon/index",
      "van-notify": "native/components/vant/notify/index",
      "van-toast": "native/components/vant/toast/index",
      "van-checkbox": "native/components/vant/checkbox/index",
      "van-button": "native/components/vant/button/index",
      "van-loading": "native/components/vant/loading/index",
    },
    navigateToMiniProgramAppIdList: [ 'wxf780a3b16440eb52' ]
  }
}
